import java.lang.reflect.Array;
import java.util.Arrays;

public class test {
    public static void main(String[] args) {
        //普通员工
        /*System.out.println("普通员工");
    GeneralEmployee employee=new GeneralEmployee(121,"张三","男",20,"中级",1);
         int x =employee.basicSalary();   //测试基本工资获取
        System.out.println(x);
        int x1=employee.jobwage();       //测试岗位工资获取
        System.out.println(x1);
        int x2=employee.Actual_salary();//测试实发工资
        System.out.println(x2);
        employee.show();              //显示工资信息
        System.out.println("======================v====");
        //销售类员工
        System.out.println("销售类员工");
        SaleEmployee employee2=new SaleEmployee(121,"张三","男",20,"中级",8000,0.5);
        int y=employee2.basicSalary();//测试销售类基本工资获取
        System.out.println(y);
        int y1=employee2.Actual_salary();//测试实发工资
        System.out.println(y1);
        employee2.show();//显示工资信息*/
             int [] arr={1,2,3,4};
         int[] arr1 =Arrays.copyOf(arr,2);
        System.out.println(Arrays.toString(arr1));


    }
}
